package com.feign.service;

import com.feign.instance.TestFeignInstance;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName: FeignClientService
 * @Author: ZhangYue26
 * @Description:
 * @Date: 2021-01-12
 */
@Service
public class FeignClientService {

    @Autowired
    public TestFeignInstance testFeignInstance;

    public String sayHi(String name) {
        return testFeignInstance.sayHello(name);
    }
}
